package com.xushi.service;

import com.xushi.model.Activity;
import com.xushi.model.UserTemplate;

import java.sql.Timestamp;
import java.util.List;

public interface ActivityService {
    Activity startActivity(String username, UserTemplate userTemplate, Timestamp startTime, Timestamp endTime);

    Activity getActivityById(int activityId);

    List<Activity> getActiveActivitiesByUT(UserTemplate userTemplate);

    Activity updateActivity(Activity activity);

    List<Activity> getActiveActivities();
}
